/**
 * 系统测试API
 */

import type { HealthStatus, SystemInfo } from "./type"
import { http } from "@/http/index"

/** 系统测试API */
export const systemApi = {
  /**
   * 健康检查
   */
  healthCheck: () => {
    return http.get<HealthStatus>("/test/health")
  },

  /**
   * 获取系统信息
   */
  getSystemInfo: () => {
    return http.get<SystemInfo>("/test/info")
  }
}

export * from "./type"
